#FROM docker.io/mariadb@sha256:b3116f425f51353e2ba71b04647977b035c2c578d276e2d4285bd2798e8199ae
FROM centos:7

ADD https://mirrors.huaweicloud.com/repository/conf/CentOS-AltArch-7.repo /etc/yum.repos.d/CentOS-Base.repo
RUN mkdir -p ~/.pip && \
    echo "[global]" >> ~/.pip/pip.conf && \
    echo "index-url = https://pypi.tuna.tsinghua.edu.cn/simple" >> ~/.pip/pip.conf
